<?php
$baner = baner();
//友情链接
 $dc_friendship = M('friendship')->order("`order` asc")->select();
//底部二维码
$dc_code = M('code')->where("id = 1")->find();
?>
<footer class="mainFooter">
    <div class="top">
        <div class="content auto clearfix">
            <div class="link-details">
                <div class="con">
                   <!-- <a href="index.html">首页</a>
                    <a href="expert.html">专家团队</a>
                    <a href="mall.html">培训商城</a>
                    <a href="news.html">新闻资讯</a>
                    <a href="cooperation.html">招商合作</a>-->
                    <foreach name="baner" item="vo">
                        <a href="
             <if condition='$vo[name] eq "首页"'>
                        {:U('index/index')}
                        <elseif condition='$vo[name] eq "专家团队"'/>
                        {:U('Expert/index')}
                        <elseif condition='$vo[name] eq "新闻资讯"'/>
                        {:U('New/index')}
                        <elseif condition='$vo[name] eq "招商合作"'/>
                        {:U('Investment/index')}
                        <elseif condition='$vo[name] eq "培训商城"'/>
                        {:U('Shop/index')}
                        </if>
                        ">{$vo.name}</a>
                    </foreach>
                </div>
                <p class="friendNotice">
                    友情链接：  <foreach name="dc_friendship" item="vo">
                    <a target="_blank" href="{$vo.href}">{$vo.name}</a>&nbsp;&nbsp;&nbsp;&nbsp;
                </foreach>
                </p>
            </div>
            <div class="twocode-box">
                <p class="notice">扫描二维码关注公众号</p>
                <div class="img auto">
                   <!-- <img src="__PUBLIC__/Home/default/static/images/image/twocode.jpg" alt="">-->
                    <img src="{$dc_code.picture}" alt="">
                </div>

            </div>
        </div>

    </div>
<!--
    <div class="bottom">Copyright ©2014 -2018 mob360.net All Rights Reserved 武汉爱武时代文化传播有限公司版权所有 (京ICP备15050087号-2)</div>
-->
    <div class="bottom">{$dc_code.word}</div>

</footer>
<ul class="slider">
    <li class="bar">
        <!--<a href="javascript:;" ></a>-->
        <a target="_blank" class="icon icon1"  href="http://wpa.qq.com/msgrd?v=3&uin=123047472&uin=1061712315&site=qq&menu=yes"></a>

    </li>
    <li class="bar">
        <a href="javascript:;" class="icon icon2">
            <div class="twocode">
                <div class="img">
                    <img src="{$dc_code.picture}" alt="">
                </div>
                <p class="notice">扫描关注微信公众号</p>
            </div>
        </a>
    </li>
    <li class="bar">
        <a href="javascript:;" class="icon icon3">
            <div class="text">400-123456</div>
        </a>
    </li>
    <li class="bar">
        <a href="javascript:;" class="icon icon4">
            <div class="text">回顶</div>
        </a>
    </li>
</ul>